<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.2.0">
<drawing>
<board>
<plain>
<wire x1="-0.46" y1="34.94" x2="-0.39" y2="-0.07" width="0" layer="20"/>
<wire x1="-0.39" y1="-0.07" x2="44.7" y2="-0.07" width="0" layer="20"/>
<wire x1="44.7" y1="-0.07" x2="44.71" y2="35.14" width="0" layer="20"/>
<wire x1="44.71" y1="35.14" x2="-0.46" y2="34.94" width="0" layer="20"/>
<text>-</text>
<text>+</text>
<text>+</text>
<text>-</text>
<text>GPIO2</text>
<text>GPIO0</text>
<text>RX</text>
<text>RX</text>
<text>TX</text>
<text>CH_PD</text>
<text>RST</text>
<text>3V3</text>
<text>2</text>
<text>0</text>
<text>RESET</text>
<text>FLASH</text>
<text>Solar Relay Controller</text>
<text>irun4fundotca - 2016</text>
<text>Revision 2b</text>
<text>GND</text>
<text>NEXTION / FTDI</text>
</plain>
<libraries>
<library name="SparkFun-Electromechanical">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find anything that moves- switches, relays, buttons, potentiometers. Also, anything that goes on a board but isn't electrical in nature- screws, standoffs, etc.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="TACTILE-SWITCH-SMD">
</package>
</packages>
</library>
<library name="SparkFun-Connectors">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find connectors and sockets- basically anything that can be plugged into or onto.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="1X02_LOCK_LONGPADS">
<description>This footprint was designed to help hold the alignment of a through-hole component (i.e.  6-pin header) while soldering it into place.  
You may notice that each hole has been shifted either up or down by 0.005 of an inch from it's more standard position (which is a perfectly straight line).  
This slight alteration caused the pins (the squares in the middle) to touch the edges of the holes.  Because they are alternating, it causes a "brace" 
to hold the component in place.  0.005 has proven to be the perfect amount of "off-center" position when using our standard breakaway headers.
Although looks a little odd when you look at the bare footprint, once you have a header in there, the alteration is very hard to notice.  Also,
if you push a header all the way into place, it is covered up entirely on the bottom side.  This idea of altering the position of holes to aid alignment 
will be further integrated into the Sparkfun Library for other footprints.  It can help hold any component with 3 or more connection pins.</description>
</package>
<package name="1X04">
</package>
<package name="2X4">
</package>
</packages>
</library>
<library name="SparkFun-PowerIC">
<description>&lt;h3&gt;SparkFun Electronics' preferred foot prints&lt;/h3&gt;
In this library you'll find drivers, regulators, and amplifiers.&lt;br&gt;&lt;br&gt;
We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;Licensing:&lt;/b&gt; Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/ 
&lt;br&gt;&lt;br&gt;
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT223">
<description>&lt;b&gt;SOT-223&lt;/b&gt;</description>
</package>
</packages>
</library>
<library name="temp controller v0.30Temp_controller">
<description>Generated from &lt;b&gt;Temp_controller.sch&lt;/b&gt;&lt;p&gt;
by exp-lbrs.ulp</description>
<packages>
<package name="0805">
</package>
<package name="1206">
</package>
</packages>
</library>
<library name="transistor-npn">
<description>&lt;b&gt;NPN Transistors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="TO92-EBC">
<description>&lt;b&gt;TO-92&lt;/b&gt;&lt;p&gt;
 grid 5.08 mm</description>
</package>
</packages>
</library>
<library name="holes">
<description>&lt;b&gt;Mounting Holes and Pads&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="2,8">
<description>&lt;b&gt;MOUNTING HOLE&lt;/b&gt; 2.8 mm with drill center</description>
</package>
</packages>
</library>
<library name="pcb">
<description>Generated from &lt;b&gt;pcb.sch&lt;/b&gt;&lt;p&gt;
by exp-lbrs.ulp</description>
<packages>
<package name="PAD3-A">
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<elements>
<element name="RESET" library="SparkFun-Electromechanical" package="TACTILE-SWITCH-SMD" value="">
<attribute name="PROD_ID" value="SWCH-08247"/>
</element>
<element name="J1" library="SparkFun-Connectors" package="1X02_LOCK_LONGPADS" value="5VDC">
<attribute name="VALUE"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="1X04" value="Relays">
<attribute name="PROD_ID" value="CONN-09696"/>
<attribute name="VALUE"/>
</element>
<element name="J3" library="SparkFun-Connectors" package="2X4" value="ESP8266-01">
<attribute name="VALUE"/>
</element>
<element name="AMS1117-3.3" library="SparkFun-PowerIC" package="SOT223" value="AMS1117-3.3">
<attribute name="VALUE"/>
</element>
<element name="R3" library="temp controller v0.30Temp_controller" package="0805" value="1k"/>
<element name="R4" library="temp controller v0.30Temp_controller" package="0805" value="1k"/>
<element name="NPN1" library="transistor-npn" package="TO92-EBC" value="BS170">
<attribute name="VALUE"/>
</element>
<element name="NPN2" library="transistor-npn" package="TO92-EBC" value="2N2222A">
<attribute name="VALUE"/>
</element>
<element name="H1" library="holes" package="2,8" value="MOUNT-HOLE2.8"/>
<element name="H2" library="holes" package="2,8" value="MOUNT-HOLE2.8"/>
<element name="H3" library="holes" package="2,8" value="MOUNT-HOLE2.8"/>
<element name="H4" library="holes" package="2,8" value="MOUNT-HOLE2.8"/>
<element name="TX" library="pcb" package="PAD3-A" value="PAD3-A">
<attribute name="NAME"/>
</element>
<element name="RX" library="pcb" package="PAD3-A" value="PAD3-A">
<attribute name="NAME"/>
</element>
<element name="GND" library="pcb" package="PAD3-A" value="PAD3-A">
<attribute name="NAME"/>
</element>
<element name="R5" library="temp controller v0.30Temp_controller" package="0805" value="100k"/>
<element name="C2" library="temp controller v0.30Temp_controller" package="1206" value="47uf"/>
<element name="FLASH" library="SparkFun-Electromechanical" package="TACTILE-SWITCH-SMD" value="">
<attribute name="PROD_ID" value="SWCH-08247"/>
</element>
<element name="R6" library="temp controller v0.30Temp_controller" package="0805" value="100k"/>
<element name="R1" library="temp controller v0.30Temp_controller" package="0805" value="100k"/>
<element name="5V" library="pcb" package="PAD3-A" value="PAD3-A">
<attribute name="NAME"/>
</element>
</elements>
<signals>
<signal name="TXD">
<contactref element="J3" pad="1"/>
<contactref element="TX" pad="1"/>
</signal>
<signal name="RXD">
<contactref element="J3" pad="8"/>
<contactref element="RX" pad="1"/>
</signal>
<signal name="3.3V">
<contactref element="AMS1117-3.3" pad="2"/>
<contactref element="J3" pad="7"/>
<contactref element="C2" pad="1"/>
<contactref element="J3" pad="3"/>
</signal>
<signal name="GND">
<contactref element="AMS1117-3.3" pad="1"/>
<contactref element="J1" pad="2"/>
<contactref element="C2" pad="2"/>
<contactref element="RESET" pad="3"/>
<contactref element="GND" pad="1"/>
<contactref element="J3" pad="2"/>
<contactref element="FLASH" pad="1"/>
<contactref element="J2" pad="4"/>
<contactref element="NPN1" pad="E"/>
<contactref element="R6" pad="1"/>
<contactref element="R1" pad="1"/>
</signal>
<signal name="RESET">
<contactref element="RESET" pad="1"/>
<contactref element="J3" pad="5"/>
</signal>
<signal name="GPIO0">
<contactref element="J3" pad="6"/>
<contactref element="FLASH" pad="3"/>
<contactref element="R3" pad="1"/>
</signal>
<signal name="N$1">
<contactref element="R3" pad="2"/>
<contactref element="NPN1" pad="B"/>
<contactref element="R6" pad="2"/>
</signal>
<signal name="N$2">
<contactref element="R4" pad="2"/>
<contactref element="NPN2" pad="B"/>
<contactref element="R5" pad="2"/>
</signal>
<signal name="5V">
<contactref element="J1" pad="1"/>
<contactref element="AMS1117-3.3" pad="3"/>
<contactref element="J2" pad="1"/>
<contactref element="5V" pad="1"/>
</signal>
<signal name="N$3">
<contactref element="J3" pad="4"/>
<contactref element="R4" pad="1"/>
</signal>
<signal name="N$5">
<contactref element="NPN2" pad="E"/>
<contactref element="R5" pad="1"/>
<contactref element="R1" pad="2"/>
</signal>
<signal name="IN1">
<contactref element="NPN1" pad="C"/>
<contactref element="J2" pad="2"/>
</signal>
<signal name="IN2">
<contactref element="J2" pad="3"/>
<contactref element="NPN2" pad="C"/>
</signal>
<signal name="N$4">
</signal>
<signal name="N$6">
</signal>
</signals>
</board>
</drawing>
</eagle>
